﻿"use strict";
define(["service/service", "service/httpService"], function (service) {
    service.factory("tokenUpGradeService", function ($location, httpService) {
        var methods = {
            gets: function (params) {
                return httpService.get("/admin/tokenupgrade/gets", params);
            },
            "getTokenUpGradeMakerPageList": function (params) {
                return httpService.get("/admin/tokenupgrade/getTokenUpGradeMakerPageList", params);
            },
            "setTokenUpGradeMakerProcessed": function (chargeId) {
                return httpService.post("/admin/tokenupgrade/setTokenUpGradeMakerProcessed", { chargeId: chargeId });
            }
        }
        return methods;
    });
});